Alternative investment - Project

Import necessary packages

Preparation of the data

Import the data

Format the data

Display the data

Define the cap weighted function

Compute the stock returns

Define portfolio returns computation

Prepare the benchmark

Define the cumulative return function

Define the smart betas strategies

Main function for portfolio evaluation

Show the returns dataframe

Compute the portfolios

Mix of all asset classes

Stocks only

Bonds only

Alternatives only